package mapeditor.mappanel.old;

import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

public class IconMotionListener implements MouseListener
{
	private ImageLabelMapView	label;

	public IconMotionListener( ImageLabelMapView label ) {
		this.label = label;
	}

	@Override
	public void mouseClicked( MouseEvent arg0 )
	{
		
	}

	@Override
	public void mouseEntered( MouseEvent arg0 )
	{
		label.setIcon( label.testimg2 );
	}

	@Override
	public void mouseExited( MouseEvent arg0 )
	{
		label.setIcon( label.testimg );
	}

	@Override
	public void mousePressed( MouseEvent arg0 )
	{

	}

	@Override
	public void mouseReleased( MouseEvent arg0 )
	{

	}

}
